<include file="Public:js" /> 
<div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">二维码编辑</span></div>
        </div>
        
        <div class="result-wrap">
            <form action="{:U('Qrcode/editqrsub')}" method="post" id="myform" name="myform">
            <!-- 商品ID -->
            <input type="hidden" name="qr_id" value="{$qr_id}">
            
                <div class="config-items">
                    <div class="config-title">
                        <h1><i class="icon-font">&#xe00a;</i>二维码编辑</h1>
                    </div>
                    <div class="result-content">
                        <table width="100%" class="insert-tab">
                            <tbody>
                            <tr>
                                 <th width="15%">是否有红包</th>           
                               <td>
                                    <input type="radio" {:$data['sf_hongbao']=='1'?'checked':''} name="sf_hongbao" value="1">是
                                    <input type="radio" {:$data['sf_hongbao']=='0'?'checked':''} name="sf_hongbao" value="0">否
                               </td>
                                 
                            </tr>
                             <tr>
                                 <th width="15%"><i class="require-red"></i>红包金额</th>
                               <td>
                                    <input type="text" value="{$data['hb_moeny']}" name="hb_moeny"/> <span>  最多支持两位小数</span>
                               </td>
                                 
                            </tr>
                            
                                <tr>
                                    <th></th>
                                    <td>
                                      
                                        <input type="submit" value="提交" class="btn btn-primary btn6 mr10">
                                        <input type="button" value="返回" onclick="history.go(-1)" class="btn btn6">
                                    </td>
                                </tr>
                            </tbody></table>
                    </div>
                </div>
                </form>
                
        </div>
    </div>

<script type="text/javascript">
$(function(){
	
	 $("#myform").Validform({
	    
	 });  //就这一行代码！;
		
	  
	
})
</script>